package com.yds.dubbo.tracing.provider;

import com.yds.dubbo.common.EmbeddedZooKeeper;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author liuhongzhen
 * @date 2023/3/24 15:33
 */
@SpringBootApplication
@EnableDubbo
public class ProviderBootstrap {
    public static void main(String[] args) {

        new EmbeddedZooKeeper(2181, false).start();

        SpringApplication.run(ProviderBootstrap.class, args);
        System.out.println("dubbo service started");
    }

}
